// 公共路由
import Layout from './../../layout/index.vue'
export default [
    // {
    //     path: '/',
    //     redirect: '/home',
    // },
    {
        path: '/login',
        name: 'login',
        component: () => import('@/views/login/index.vue')
    },
    {
        path: '/',
        name: 'home',
        component: () => import('@/layout/index.vue'),
        redirect: '/',
        children: [
            // {
            //     path: 'my',
            //     name: 'my',
            //     component: () => import('@/views/transport/my.vue'),
            // },
            // {
            //     path: 'todolist',
            //     name: 'todolist',
            //     component: () => import('@/views/transport/tobolist.vue'),
            // }
            
        ]

    },

    {
        path: '/404',
        name: '404',
        component: () => import('@/pages/404.vue')
    }
]
